#ifndef __KEY_H
#define __KEY_H

#include "main.h"

#define Button_Up     1
#define Button_Middle     2
#define Button_Down     3 
#define Button_Left     4
#define Button_Right     5

typedef struct{
    uint8_t down;
    uint8_t up;
    uint8_t old;
}keyParameter;

void Key_EmShak(keyParameter *keyStatus);

#endif // 
